import {createStore,applyMiddleware} from "redux";
import {combineReducers} from "redux-immutable";
import thunk from "redux-thunk";

import app from './modules/App'
import user from './modules/user'

const reducer = combineReducers({
  app,
  user
})

const store = createStore(reducer, applyMiddleware(thunk))

export default store
